export default {
    devBaseUrl: "http://127.0.0.1:3000/app/article",
    testBaseUrl: "http://127.0.0.1:3000/app/article",
    prodBaseUrl: "http://127.0.0.1:3000/app/article",
    apiList: {
        categories_list: '/categories_list'
    },
    checkEnvironment() {
        switch (process.env.NODE_ENV) {
            case "development":
                return this.devBaseUrl
                break;
            case "test":
                return this.testBaseUrl
                break;
            case "production":
                return this.prodBaseUrl
                break;
        }
    }
}